package com.jt.permission.service;

import com.jt.base.BaseService;
import com.jt.permission.mapper.MenuMapper;
import com.jt.permission.model.Menu;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class MenuService extends BaseService<Long, Menu> {

    public List<Menu> queryAllMenus(List<Long> roleIds){
        return ((MenuMapper)mapper).queryAllMenus(roleIds);
    }
}
